<?php
namespace common\models;
use yii\db\ActiveRecord;
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/2/26
 * Time: 10:00
 */
class Express extends ActiveRecord {
    public static function tableName()
    {
        return "express";
    }

    public function attributeLabels()
    {
        return
            [
                'id'=>'',
                'express_name'=>'快递名称',
                'express_region'=>'配送区域',
                'express_money'=>'起步价',
            ];

    }
    public function rules()
    {
        return[
            // name, email, subject 和 body 属性必须有值
            [['express_name', 'express_region','express_money'], 'string'],
        ];
    }



}
